@using System.Net.Http
@using BootBlazor
@using BootBlazor.Ai.Resources
@using BootBlazor.Servers.Auth
@using BootBlazor.Servers.Components.Pages;
@using BootBlazor.Servers.Components.Select;
@using BootBlazor.Servers.Data;
@using BootBlazor.Servers.Helper
@using BootBlazor.Servers.Resources;
@using BootBlazor.Servers.Services;
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage;
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.EntityFrameworkCore;
@using Microsoft.Extensions.Localization;
@using Microsoft.JSInterop
@using MudBlazor

@inject IJSRuntime _jsRuntime;
@inject IDbContextFactory<BootBlazorDbContext> _dbFactory;
@inject IDialogService _dialogService;
@inject ISnackbar _snackbarService;
@inject IAccessService _accessService;

@inject JwtHelper _jwtHelper;
@inject AiHelper _aiHelper;

@inject AuthenticationStateProvider _stateProvider;
@inject ExternalAuthService _authService;
@inject ProtectedLocalStorage _localStorage;
@inject NavigationManager _navManager;

@inject IStringLocalizer<AiCulture> Loc;

@attribute [Authorize]
